<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="mbox" style="overflow:hidden; height:20px" onmousemove="marqueeing = false;" onmouseout="marqueeing = true;">
<c:forEach items="${ORDER_DETAILS}" var="orderDetail">
	<div>${orderDetail.productInfo.productName}</div>
</c:forEach>
</div>
<script language="javascript">
var marqueeing = true;
function marquee(){
	if(marqueeing) {
		var container=document.getElementById("mbox");
		container.appendChild(container.firstChild);
	}
}
setInterval("marquee()", 2000);
</script>